package cn.monkey.transport.netty;

import cn.monkey.transport.core.Exchange;
import cn.monkey.transport.core.ExchangeFactory;
import io.netty.channel.Channel;

public interface NettyExchangeFactory<EXCHANGE extends NettyExchange> extends ExchangeFactory<Channel, EXCHANGE> {

    @Override
    EXCHANGE apply(String key, Exchange exchange, Channel channel);
}
